package com.jic.member.api.rest;

import com.jic.common.base.vo.RestResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "jic-member", path = "/jsApi")
public interface JsApi {

    /**
     * 获取调用weixin api的token
     *
     * @return
     * @throws Exception
     */
    @PostMapping("getWeiXinApiToken")
    RestResult<String> getWeiXinApiToken() throws Exception;

}
